<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"
+request.getServerName()+":"+request.getServerPort()
+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head><base href="<%=basePath%>">
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<title>个人空间</title>

<link href="css/space.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/space.js"></script>
</head>

<body onload="userhobby()">
<div class="all">
		<div class="bodyge">
				<div class="bodyge-left">
				<div class="bodyge-left-a1">
					<span class="font-b">个人资料</span>
				</div>
				<div class="body-left-geren2">
					<div class="bodyge-left-gexiao">基本资料</div>
						<div class="bodyge-left-gejie">
							<span class="bodyge-gexiaoming">昵称：</span>
							<span class="fontStyle">${user.userName }</span>
						</div>
						<div class="bodyge-left-gejie">
							<span class="bodyge-gexiaoming">邮箱：</span>
							<span class="fontStyle">${user.email }</span>
						</div>
					<div class="bodyge-left-gexiao">联系方式</div>
					<div class="bodyge-left-gejie">
						<span class="bodyge-gexiaoming">真实姓名：</span>
						<span class="fontStyle">${userExt.realName }</span>
					</div>
							
					<div class="bodyge-left-gejie">
							<span class="bodyge-gexiaoming">性&nbsp;&nbsp;&nbsp;&nbsp;别：</span>
							<span class="fontStyle">
								<c:if test="${userExt.sex == 1}">男</c:if>
								<c:if test="${userExt.sex == 0}">女</c:if>
							</span>
					</div>
							
					<div class="bodyge-left-gejie">
						<span class="bodyge-gexiaoming">笔&nbsp;&nbsp;&nbsp;&nbsp;名：</span>
						<span class="fontStyle">${userExt.penName }</span>
					</div>
					<div class="bodyge-left-gejie"><span class="bodyge-gexiaoming">电&nbsp;&nbsp;&nbsp;&nbsp;话：</span>${userExt.tel }</div><br>
						
					<div class="bodyge-left-gexiao">学识背景</div>
					<div class="bodyge-left-gejie">
							<span class="bodyge-gexiaoming">学&nbsp;&nbsp;&nbsp;&nbsp;历：</span>
							<span class="fontStyle">${userExt.degree }</span>
					</div>
							
					<div class="bodyge-left-gejie">
						<span class="bodyge-gexiaoming">职&nbsp;&nbsp;&nbsp;&nbsp;称：</span>
						<span class="fontStyle">${userExt.position }</span>
					</div>
					<div class="bodyge-left-gejie">
						<span class="bodyge-gexiaoming">工作单位：</span>
						<span class="fontStyle">${userExt.company }</span>
					</div>
					<br />
							
					<div class="bodyge-left-gexiao"><span class="bodyge-gexiaotit">会员信息</span></div>
					
				   <div class="bodyge-left-gejie">
						<span class="bodyge-gexiaoming">会员头像：</span>
						
						<div class="bodyge-tuxiang">
						<c:if test="${empty userExt.headPic}">
							<img src="images/noavatar_middle.gif" width="105px" height="130px"/>
						</c:if>
						<c:if test="${! empty userExt.headPic}">
							<img src="${userExt.headPic }" width="105px" height="130px"/>
						</c:if>
						</div>
					</div>
 				
					<div class="bodyge-left-gejie"><br>
						<span class="bodyge-gexiaoming">用户偏爱：</span>
						<div id="categoryBB" class="categoryBB"></div>
						<input type="hidden" id="cateogry_Ids" value="${userExt.hobby }"/>
					</div>
				</div>
			
				</div>
</div>
</div>
</body>
</html>